#include "10_22_prac_Queue.h"
#include <iostream>
using namespace std;

void test()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	QueuePush(&q, 4);
	QueuePush(&q, 5);
	QueuePop(&q);
	QueuePop(&q);
	QueuePop(&q);
	QueuePop(&q);
	QueuePop(&q); QueuePop(&q);

	while (!QueueEmpty(&q))
	{
		cout << QueueFront(&q) << endl;
		QueuePop(&q);
	}
}
int main()
{
	test();
	return 0;
}